package com.wyj.wuliwuli.entity;

import lombok.Data;

import javax.persistence.*;

/**
 * @Version 1.0
 * @Description 反馈
 */
@Data
@Entity
@Table(name = "wuli_feedback")
public class WuliFeedback extends BaseEntity {

    @ManyToOne
    @JoinColumn(name = "user_id", columnDefinition = "bigint(20) COMMENT '用户ID'")
    private WuliUser user;

    @Column(columnDefinition="varchar(500) COMMENT '反馈内容'")
    private String content;

    /**
     * 0 未处理
     * 1 已处理
     */
    @Column(columnDefinition="int(10) COMMENT '是否已处理'")
    private Integer processed;
}
